package com.lisp.algorithm.util;

import java.util.Arrays;

public class ArrayUtil {

	public static void print(int a[]) {
		System.out.println(Arrays.toString(a));
	}
	
	public static void print(char a[]) {
		System.out.println(Arrays.toString(a));
	}
	
	public static void swap(int a[], int i, int j) {
		int tmp = a[i];
		a[i] = a[j];
		a[j] = tmp;
	}
}
